﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace ZDSoft.TES.Entity.SystemEntity
{
    [ActiveRecord("UserCourse")]
    public class UserCourse : EntityBase<UserCourse>
    {
        [BelongsTo("UserID", Lazy = FetchWhen.OnInvoke)]
        public User User { get; set; }

        [BelongsTo("CourseID", Lazy = FetchWhen.OnInvoke)]
        public Course CourseID { get; set; }
    }
}
